package com.dangdang.domain;

/**
 * 用户实体类
 * 
 * @author Wangpeihu
 * @team [Never give up]
 * @since JDK1.6(建议)
 * @date 2010-1-25
 */
public class User implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	/** 用户ID */
	private Integer id;

	/** 用户邮箱 */
	private String email;

	/** 用户登录密码 */
	private String password;

	/** 用户姓名 */
	private String name;

	/** 用户积分 */
	private Integer userIntegral;

	/** 标识该用户是否被激活 */
	private boolean verify;

	/** 邮箱验证码 */
	private String verifyCode;

	/** 最后一次登陆时间 */
	private Integer lastLoginTime;

	/** 最后一次登陆IP */
	private String lastLoginIp;

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLastLoginIp() {
		return lastLoginIp;
	}

	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}

	public Integer getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Integer lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getUserIntegral() {
		return userIntegral;
	}

	public void setUserIntegral(Integer userIntegral) {
		this.userIntegral = userIntegral;
	}

	public boolean isVerify() {
		return verify;
	}

	public void setVerify(boolean verify) {
		this.verify = verify;
	}

	public String getVerifyCode() {
		return verifyCode;
	}

	public void setVerifyCode(String verifyCode) {
		this.verifyCode = verifyCode;
	}

}